<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>问题详情</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <style>
        #app .header {
            padding: 0 15px;
            height: 44px;
            line-height: 44px;
            text-align: center;
            background-color: #ffffff;
            font-size: 16px;
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            justify-content: center;
            align-items: center;
            display: flex;
        }

        #app .header img {
            width: 22px;
            height: 22px;
        }

        #app .header img:first-child {
            position: absolute;
            left: 15px;
        }

        #app .content {
            width: 100%;
            padding: 15px;
            box-sizing: border-box;
        }

        #app .content .content_box {
            width: 100%;
            border-radius: 10px;
            background-color: #ffffff;
            margin-bottom: 15px;
        }

        #app .content .content_box .box_top {
            flex: 1;
            width: 100%;
            display: flex;
            flex-wrap: nowrap;
            padding: 15px 15px 10px;
            box-sizing: border-box;
            border-bottom: 1px solid #e5e5e5;
        }

        #app .content .content_box .box_top .top_right {
            font-size: 10px;
            color: #999;
            line-height: 10px;
        }

        #app .content .content_box .box_top .top_right .r_tp {
            font-size: 20px;
            color: #000;
            font-weight: bold;
            margin-bottom: 7.5px;
            margin-top: 20px;
        }

        #app .content .content_box .box_bot {
            flex: 1;
            width: 100%;
            display: flex;
            flex-wrap: nowrap;
            padding: 15px 15px 10px;
            box-sizing: border-box;
        }

        #app .content .content_box .box_bot .bot_right {
            font-size: 10px;
            flex: 1;
            width: 100%;
            color: #999;
            line-height: 10px;
        }

        #app .content .content_box .box_bot .bot_right .b_tp {
            font-size: 14px;
            line-height: 26px;
            color: #333;
            margin-bottom: 7.5px;
        }

        #app .content_box>div>img {
            width: 14px;
            height: 14px;
            margin-right: 5px;
            padding-top: 6px;
        }

        #app .content .content_box .box_top img {
            margin-top: 12.5px;
        }

        .top_right>img {
            width: 100%;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="header">
            <img src="../../image/icon_return.png" alt="" onclick="back()">问题详情
        </div>
        <div class="content">
            <div class="content_box">

            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript">
    apiready = function () {
        resume("feedBack_details");

        $api.dom('.content').style.paddingTop = $api.fixStatusBar($api.dom('.header')) + 15 + 'px';

        var item = api.pageParam.item;
        $api.html($api.dom(".content_box"), `
        <div class="box_top">
					<img src="../../image/feedback_icon_ask.png" alt="">
					<div class="top_right">
                        <div class="r_tp">`+ item.content + `？</div>
                        <img src="`+ $api.baseUrl + item.pic_url + `" alt="">
					</div>
				</div>
				<div class="box_bot">
					<img src="../../image/feedback_icon_answer.png" alt="">
					<div class="bot_right">
						<div class="b_tp">`+ item.comment + `</div>
					</div>
				</div>
        `)
    }

    function back() {
        api.closeWin({
        });
    }
</script>

</html>